
export default class LogUtil{

    public static logStatus = true;

    public static Log( ...args){
        if (LogUtil.logStatus == false){
            return;
        }
        if (!CC_DEBUG){
            return;
        }
        if (cc.sys.platform == cc.sys.ANDROID || cc.sys.platform == cc.sys.IPHONE){
            //转换json
            console.log(...args);
        }
        else{
            console.log(...args);
        }
    }
}
window['Log'] = LogUtil.Log;
